#pragma once
#include "CaelumInternal.h"
#include "CaelumExternal.h"
#include "Vector3.h"
#include "Vector2.h"

namespace Caelum { 
namespace ModelData {

struct Vertex
{
	int AbsoluteID;
	Vector3 Position;
	Vector3 Normal;
	Vector2 UV;
};

struct Face
{
	Vertex Vertices[3];
	int VertexIndices[3];
};

struct ModelMesh
{
	int NumVertices;
	Vertex *Vertices;
	int NumFaces;
	Face *Faces;
};

struct Model
{
	int NumMeshes;
	ModelMesh *Meshes;
};

}
}